package com.jingdianjichi.user;
import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.ComponentScan;
import io.swagger.v3.oas.annotations.*;
/*@MapperScan("com.jingdianjichi.user.dao")

@SpringBootApplication
@MapperScan(value="com.jingdianjichi.user.mapper")
@ComponentScan(basePackages = "com.jingdianjichi")
public class UserApplication {
    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class);
    }
}*/



@SpringBootApplication
@ComponentScan(basePackages = {"com.jingdianjichi"})

@MapperScan("com.jingdianjichi.user.mapper")
public class UserApplication {
    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class, args);
    }
}
